<!--  This page asks students to register for a username and password 
      
      Upon clicking submit, students are led to the Country of Citizenship 
      Page -->

<%@ 
	page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<html>
<head>
<title>Applicant Registration Page</title>
</head>
<body>

	Please register:
	<p>
	<div style="color: red">
		<html:errors />
	</div>
	<html:form action="/appReg">
		<table border="1">
			<tr>
				<td>Username:</td>
				<td><html:text name="appRegForm" property="username" size="20" /></td>
			</tr>
			<tr>
				<td>Password:</td>
				<td><html:password name="appRegForm" property="pwd" size="21" /></td>
			</tr>
			<tr>
				<td>Retype:</td>
				<td><html:password name="appRegForm" property="rpwd" size="21" /></td>
			</tr>
			<tr>
				<td>E-mail:</td>
				<td><html:text name="appRegForm" property="email" size="20" /></td>
			</tr>
			<tr>
				<td align="right" colspan="2"><html:submit value="Submit" /></td>
			</tr>
		</table>
	</html:form>

</body>
</html>